import { Module } from '@nestjs/common';
import { FolderService } from './folder.service';
import { FolderController } from './folder.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Folder } from './entities/folder.entity';
import { GroupToFolderlist } from './entities/grouptofolder.entity';
import { User } from 'src/user/entities/user.entity';
import { usertogroup } from 'src/group/entities/usertogroup.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([Folder]),
    TypeOrmModule.forFeature([GroupToFolderlist]),
    TypeOrmModule.forFeature([User]),
    TypeOrmModule.forFeature([usertogroup]),
  ],
  controllers: [FolderController],
  providers: [FolderService],
  exports: [FolderService],
})
export class FolderModule {}
